package com.gitee.loyo;

import io.vertx.core.http.HttpConnection;
import org.apache.velocity.app.VelocityEngine;

import java.io.File;
import java.util.HashSet;
import java.util.Set;

public class Global {
    public static File RUNNING_DIR;
    public static File CONF_DIR;
    public static File BRIDGE_FILE;
    public static Set<String> MACHINE_IP_POOL;
    public static VelocityEngine VELOCITY_ENGINE;
    public static int LOG_SIZE = 10;
    public static int LOG_BODY_LENGTH = 1024 * 1024 * 2;
    public static int LOG_RETRY_TIMEOUT = 5000;

    public static final Set<HttpConnection> ALIVE_CONNECTION = new HashSet<>();
}
